package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditAddReqDTO;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.WorkerCertificationAuditResDTO;

import java.util.Map;

/**
 * <p>
 * 服务人员认证审核表 服务类
 * </p>
 *
 * @author itcast
 * @since 2023-09-06
 */
public interface IWorkerCertificationAuditService extends IService<WorkerCertificationAudit> {

    PageResult<WorkerCertificationAuditResDTO> pageWorkerCertificationAudit(WorkerCertificationAuditPageQueryReqDTO workerCertificationAuditPageQueryReqDTO);

    void addWorkerCertification(WorkerCertificationAuditAddReqDTO workerCertificationAuditAddReqDTO);

    Map<String, String> queryRejectReason();

    void audit(Long id, Integer certificationStatus, String rejectReason);
}
